package com.ruoyi.tb.lmt.service;

import com.ruoyi.tb.lmt.domain.TbLmtrepairCheckdetail;
import com.ruoyi.tb.lmt.domain.vo.TbLmtrepairCheckdetailVo;
import com.ruoyi.tb.lmt.domain.bo.TbLmtrepairCheckdetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.tb.lmt.domain.vo.TbLmtrepairWorkdetailVo;

import java.util.Collection;
import java.util.Date;
import java.util.List;

/**
 * 质量验收Service接口
 *
 * @author ruoyi
 * @date 2023-12-22
 */
public interface ITbLmtrepairCheckdetailService {

    /**
     * 查询质量验收
     */
    TbLmtrepairCheckdetailVo queryById(Long ID);

    /**
     * 查询质量验收列表
     */
    TableDataInfo<TbLmtrepairCheckdetailVo> queryPageList(TbLmtrepairCheckdetailBo bo, PageQuery pageQuery);

    /**
     * 查询质量验收列表
     */
    List<TbLmtrepairCheckdetailVo> queryList(TbLmtrepairCheckdetailBo bo);

    /**
     * 新增质量验收
     */
    Boolean insertByBo(TbLmtrepairCheckdetailBo bo);

    /**
     * 修改质量验收
     */
    Boolean updateByBo(TbLmtrepairCheckdetailBo bo);

    /**
     * 校验并批量删除质量验收信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);

    TbLmtrepairCheckdetailBo selectByLmtId(Long lmtId);

    List<TbLmtrepairWorkdetailVo> selectHistoryList(String id, String workKind, String workGroup, String workSelect, String status, Date startTime);

    boolean isStayById(Long id);

    Long selectIdByLmtWorkId(Long id);
}
